Skip to content

fix: move download and enable button to outside of details tab#59465

Open
mykh-hailo wants to merge 1 commit intonextcloud:masterfrom
mykh-hailo:fix/app-download-and-enable-button-position
Open

fix: move download and enable button to outside of details tab#59465
mykh-hailo wants to merge 1 commit intonextcloud:masterfrom
mykh-hailo:fix/app-download-and-enable-button-position

Conversation

@mykh-hailo
Copy link
Copy Markdown
Contributor

@mykh-hailo mykh-hailo commented Apr 6, 2026

Summary

This change improves discoverability of app lifecycle actions in the App Store sidebar by moving install, update, remove, enable/disable, App API deploy options, and “delete data on remove” out of the Details tab and into the sidebar header description area, next to badges and the store rating.

The Details tab now focuses on group limits, dependencies, metadata, and links (interact section), while primary actions stay visible without switching tabs.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@mykh-hailo mykh-hailo requested a review from a team as a code owner April 6, 2026 08:41
@mykh-hailo mykh-hailo requested review from nfebe, sorbaugh and szaimen and removed request for a team April 6, 2026 08:41
@susnux
Copy link
Copy Markdown
Contributor

susnux commented Apr 6, 2026

Can you please add screenshots?
How does this look on mobile?

@susnux susnux added design Design, UI, UX, etc. 3. to review Waiting for reviews labels Apr 6, 2026
@mykh-hailo
Copy link
Copy Markdown
Contributor Author

@susnux Here are the screenshots before and update.

Screenshot for Wide Screens.

Before After
image image

Screenshot for narrow screens.

Before After
image image

P.S. We have the title and score and the button section is clipped on the left. To fix this issue, we have to fix NcAppSidebar component.

@mykh-hailo mykh-hailo force-pushed the fix/app-download-and-enable-button-position branch from b77e55c to 6834740 Compare April 7, 2026 13:31
@mykh-hailo
Copy link
Copy Markdown
Contributor Author

@susnux I updated the code with the latest master branch.
I'd appreciate it if you check it please.

@mykh-hailo mykh-hailo force-pushed the fix/app-download-and-enable-button-position branch 3 times, most recently from ad3aa25 to fb5dc2b Compare April 7, 2026 16:03
@mykh-hailo
Copy link
Copy Markdown
Contributor Author

@susnux , @skjnldsv
Can you possibly give me any feedback on this PR please?

@mykh-hailo mykh-hailo force-pushed the fix/app-download-and-enable-button-position branch 2 times, most recently from b8c5ed1 to 6bbca83 Compare April 9, 2026 09:38
@mykh-hailo
Copy link
Copy Markdown
Contributor Author

@susnux , @skjnldsv , @szaimen , @nfebe , @sorbaugh
I'd appreciate it if you have time to review this PR.

@mykh-hailo mykh-hailo force-pushed the fix/app-download-and-enable-button-position branch from 6bbca83 to 5d71884 Compare April 9, 2026 14:36
Copy link
Copy Markdown
Collaborator

@artonge artonge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall

@mykh-hailo mykh-hailo force-pushed the fix/app-download-and-enable-button-position branch from 5d71884 to 7dbb3fb Compare April 10, 2026 08:59
Copy link
Copy Markdown
Collaborator

@artonge artonge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@mykh-hailo mykh-hailo force-pushed the fix/app-download-and-enable-button-position branch from 7dbb3fb to 51f2f6a Compare April 13, 2026 06:07
Copy link
Copy Markdown
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mykh-hailo thanks a lot for the contribution!

I just tested this and there seems to be some problems with the limit apps to groups feature (it should be put onto a new line probably and not be positioned like a block element:

Grabacion.2026-04-13.163329.mp4

Additionally, there seems to be some problems with updating the internal state when using the enable, install or disable buttons so that always a full page reload is required to update the state:

Grabacion.2026-04-13.163527.mp4

@mykh-hailo mykh-hailo force-pushed the fix/app-download-and-enable-button-position branch from 51f2f6a to a5fcfdf Compare April 13, 2026 19:34
@mykh-hailo
Copy link
Copy Markdown
Contributor Author

@szaimen Thank you for your comments.
I updated the code base for that.
I'd appreciate it if you review it again.

@mykh-hailo mykh-hailo force-pushed the fix/app-download-and-enable-button-position branch 3 times, most recently from 4de7f7a to 6fac68b Compare April 13, 2026 19:43
@mykh-hailo mykh-hailo force-pushed the fix/app-download-and-enable-button-position branch from 6fac68b to e44e937 Compare April 13, 2026 19:48
@mykh-hailo mykh-hailo requested a review from szaimen April 14, 2026 09:52
Copy link
Copy Markdown
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested again and it doesnt work correctly yet:

  1. After disabling the app, it should offer to enable the app again or remove it but disabling the app seems to remove it directly now which is incorrect
  2. Activating the checkbox to limit an app to a specific group always shows No results. Instead it should show a dropdown that allows to select your groups

@mykh-hailo mykh-hailo force-pushed the fix/app-download-and-enable-button-position branch from 4f6c125 to 7ef5b23 Compare April 14, 2026 14:55
Signed-off-by: mykh-hailo <kristianderonta0205@gmail.com>
@mykh-hailo mykh-hailo force-pushed the fix/app-download-and-enable-button-position branch from 7ef5b23 to 45a49ec Compare April 14, 2026 14:56
@mykh-hailo
Copy link
Copy Markdown
Contributor Author

I tested again and it doesnt work correctly yet:

  1. After disabling the app, it should offer to enable the app again or remove it but disabling the app seems to remove it directly now which is incorrect
  2. Activating the checkbox to limit an app to a specific group always shows No results. Instead it should show a dropdown that allows to select your groups

@szaimen about the 2nd issue, I fixed the bug and made a commit.

But about the 1st one, as far as I checked the master branch, force refresh to update the sidebar is originally from the master branch.
I think we need to test and talk more about that issue.
In my opinion, it'd be better to create a separate issue for that and work on that.
Can you share your opinion please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews design Design, UI, UX, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App management: The "download and enable" button should be moved outside the sidebar tab

5 participants